package experiment_02_Pram;

import java.util.Scanner;

public class JavaDemo {

	public static void main(String[] args) {
		System.out.println("Please select which food you want to eat: bread or milk???");
		Scanner input = new Scanner(System.in);
		String foodTypeString = input.next();
		IFood iFood = Factory.getInstance(foodTypeString);
		iFood.eat();
	}

}
